CagdIChooseK

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

CagdIChooseK()  

SYNOPSIS

cagd_lib/cbzreval.c:310

CagdRType CagdIChooseK(int i, int k)
 

DESCRIPTION

Evaluates the following (in floating point arithmetic):
                        k         k!
                       ( ) = -------------
                        i    i! * (k - i)!  

PARAMETERS:

i, k: Coefficients of i choose k.  

FUNCTION RETURN VALUE

CagdRType: Result of i choose k, in floating point, to prevent from overflows.

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:17 GMT, October 17, 2022